@charset 'utf-8';
@font-face {
	font-family: 'iconfont';
    src: url('../font/iconfont.eot'); /* IE9*/
    src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../font/iconfont.woff') format('woff'), /* chrome、firefox */
    url('../font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url('../font/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}

*{
	margin: 0;
	padding: 0;
}

li{
	list-style: none;
}
a img{
	border: none;
}

body{
	font-family: 'Microsoft yahei';
}

a{
	text-decoration:none;
}

#header{
	width: 100%;
	height: 40px;
	background:#333;
	min-width: 1226px;
	z-index: 1;
}
/*
margin:10px 5px 15px 20px; 上右下左
margin:10px 5px 15px; 上 右左 下
margin:10px 5px; 上下 右左
auto	浏览器计算外边距。
*/
#h_main{
	width: 1226px;
	height: 40px;
	margin: 0 auto;
}

#h_main .h_m_left{
	width: 550px;
	height: 40px;
	float: left;
}

#h_main .h_m_left ul li{
	/*list-style: none;*/
	float: left;
	line-height: 40px;
}
#h_main .h_m_left ul li a{
	font-size: 12px;
	color: #bbb;
	padding: 0 5px;
}
#h_main .h_m_left ul li a:hover{
	color: #fff;
}
#h_main .h_m_left ul li span{
	color: #444;
	font-size: 12px;
}
#h_main .h_m_right{
	width: 210px;
	height: 40px;
	float: right;
}
#h_main .h_m_right .h_m_r_login{
	height: 40px;
	width: 80px;
	line-height: 40px;
	color: #444;
	font-size: 12px;
	float: left;
}
#h_main .h_m_right .h_m_r_login a{
	font-size: 12px;
	color: #bbb;
	pad: 0 3px;
	cursor: pointer;
} 

#h_main .h_m_right .h_m_r_login a:hover{
	color: #fff;
}
#h_main .h_m_right .h_m_r_shop{
	height: 40px;
	width: 120px;
	float: right;
	background:#424242;
	text-align: center;
	cursor: pointer;
	position: relative;
}
#h_main .h_m_right .h_m_r_shop:hover{
	background: #fff;
	
}
#h_main .h_m_right .h_m_r_shop:hover span,#h_main .h_m_right .h_m_r_shop:hover span.iconfont{
	color: #f60;
}
#h_main .h_m_right .h_m_r_shop span{
	font-size: 12px;
	color: #bbb;
	line-height: 40px;
}
#h_main .h_m_right .h_m_r_shop span.iconfont{
	font-size: 18px;
	margin: 0 4px;
	font-family: 'iconfont';
	-webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}
#h_main .h_m_right .h_m_r_shop .h_m_r_s_hide{
	width: 314px;
	height: 100px;
	top: 40px;
	right: 0;
	position: absolute;
	background: #fff;
	box-shadow: 0 0 5px #bbb ;
	line-height: 100px;
	text-align: center;
	font-size: 14px;
	color: #666;
	float: right;
	z-index: -1;
	display: none;
	cursor: default;
}

/*nav*/
#nav{
	width: 1226px;
	height: 55px;
	margin: 23px auto;
	position: absolute;
	z-index: -2;
}
#nav .n_logo{
	width: 55px;
	height: 55px;
	float: left;
}

#nav .n_logo a{
	/*display: block; 不写这个无法显示*/
	display: block;
	width: 100%;
	height: 100%;
	background: #f60 url(../img/mi-logo.png) center no-repeat;
}
#nav .n_main{
	width: 670px;
	height: 55px;
	float: left;
	margin-left: 170px;
}
#nav .n_main ul li{
	line-height: 55px;
}
#nav .n_main ul li a{
	font-size: 16px;
	float: left;
	padding: 0 15px;
	color: #666;

}

#nav .n_main ul li a:hover
{
	color:#f60;
}

#nav .n_right{
	width: 300px;
	height: 55px;
	float: right;
	z-index: -2;
	/*position: relative;*/
}

#nav .n_right .n_r_input{
	width: 245px;
	height: 55px;
	float: left;
	position: relative;
}
#nav .n_right .n_r_input input{
	top: 0;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: none;
	border-bottom: 1px solid #ddd;
	width: 244px;
	height: 53px;
	outline: none;
	/*display: block;*/
	transition: 0.3s;
}
#nav .n_right .n_r_search{
	line-height: 55px;
	width: 53px;
	height: 53px;
	background: #fff;
	border: 1px solid #ddd;
	float: right;
	font-family: 'iconfont';
	-webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
	font-size: 16px;
	text-align: center;
	color: #666;
	transition: 0.3s;
	cursor: pointer;
}
/*设置搜索栏悬停的颜色*/
#nav .n_right.hover .n_r_input input{
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	border-right: none;
	border-bottom: 1px solid #999;
}
/*设置右边搜索按钮的颜色*/
#nav .n_right.hover .n_r_search{
	border: 1px solid #999;
	
}
#nav .n_right .n_r_input .n_r_tips{
	width: 130px;
	height: 20px;
	top: 50%;
	margin-top: -10px;
	right: 0px;
	position: absolute;
}

#nav .n_right .n_r_input .n_r_tips a{
	margin-left: 5px;
	line-height: 20px;
	background: #ebebeb;
	padding: 0 5px;
	color: #666;
	align-content: center;
	font-size: 12px;
	cursor: pointer;
	float: left;
}

#nav .n_right .n_r_input .n_r_tips a:hover{
	background:#f60;
	color: #fff;
}

/*输入框编辑状态*/
#nav .n_right.focus .n_r_input input{
	border-top: 1px solid #f60;
	border-left: 1px solid #f60;
	border-right: none;
	border-bottom: 1px solid #f60;
}
#nav .n_right.focus .n_r_search {
	border: 1px solid #f60;
}

#nav .n_right .n_r_search:hover {
color: #fff;
background: #f60;
border: 1px solid #f60;
}

#nav .n_right .n_r_hide{
	width: 244px;
	height: 120px;
	float: left;
	border-top: none;
	border-left: 1px solid #f60;
	border-right: 1px solid #f60;
	border-bottom: 1px solid #f60;
	display: none;
	
}
#nav .n_right .n_r_hide ul li {
width: 244px;
height: 20px;
/*line-height: 20px;*/


}
#nav .n_right .n_r_hide ul li a{
	width: 213px;
	float: left;
	color: #666;
    font-size: 12px;
	padding:0 15px;
	/*background: #ddd;*/
	
}

#nav .n_right .n_r_hide ul li a span{
	width: 80px;
	color: #999;
	font-size: 12px;
	float: right;
	text-align: right;
}

#nav .n_right .n_r_hide ul li a:hover{
	background: #efefef;
}




